package com.yanqu.road.entity.activity.langyabang.data;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_c_lang_ya_declare_notice")
public class LangYaDeclareWarNoticeData extends DataObject {
    @FieldTypeAnnotation(desc = "活动id",select = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "分组id",select = true)
    private int groupId;
    @FieldTypeAnnotation(desc = "宣战id")
    private int declareWarUid;
    @FieldTypeAnnotation(desc = "宣战者简略信息")
    private LangYaUserBriefData attackUser;
    @FieldTypeAnnotation(desc = "发动宣战的商会")
    private LangYaUnionBriefData attackUnion;
    @FieldTypeAnnotation(desc = "被宣战的商会")
    private LangYaUnionBriefData defendUnion;
    @FieldTypeAnnotation(desc = "时间")
    private long time;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public int getDeclareWarUid() {
        return declareWarUid;
    }

    public void setDeclareWarUid(int declareWarUid) {
        this.declareWarUid = declareWarUid;
    }

    public LangYaUserBriefData getAttackUser() {
        return attackUser;
    }

    public void setAttackUser(LangYaUserBriefData attackUser) {
        this.attackUser = attackUser;
    }

    public LangYaUnionBriefData getAttackUnion() {
        return attackUnion;
    }

    public void setAttackUnion(LangYaUnionBriefData attackUnion) {
        this.attackUnion = attackUnion;
    }

    public LangYaUnionBriefData getDefendUnion() {
        return defendUnion;
    }

    public void setDefendUnion(LangYaUnionBriefData defendUnion) {
        this.defendUnion = defendUnion;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }
}
